xend: move the call to XendDevices.destroy_device_state()
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Sep 2008 09:38:33 +0000 (10:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Sep 2008 09:38:33 +0000 (10:38 +0100)
commit87fd15ceee9c195f428f9e329b1c223bd17b275b
tree6f47d4c6b70cc20f07c94f4a6a7dee409270f708
parentc93d35a368adcc7072601eee1f57ed489e7712fb
xend: move the call to XendDevices.destroy_device_state()

This patch moves the call to XendDevices.destroy_device_state() to the
function _remove_domain. Previously only Xen-API calls were calling
the destroy_device_state() function.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xend/XendDomain.py